body {
  background: url(../images/login_bg.jpg);
  background-size: cover;
  overflow: hidden;
  height: 100%;
}

.header {
  margin-top: 20px;
}

.login-form {
  padding: 0 30px;
  width: 400px;
  height: 310px;
  background: #fff;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
}

.login-form .title {
  background: url(../images/login_title.png) no-repeat;
  background-position: center;
  height: 50px;
}

.login-form .link {
  text-align: right;
}

.layui-form-item {
  position: relative;
}

.layui-form-item .layui-icon {
  position: absolute;
  top: 10px;
  left: 10px;
}

.layui-form-item .layui-input {
  padding-left: 30px;
}

#reg-form {
  display: none;
}